package com.yuanzong.wuliu.mapper.business.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanzong.wuliu.model.business.customer.BusinessCustomerBaodan;
import com.yuanzong.wuliu.model.business.customer.bo.BusinessCustomerBaodanPageByMapperBo;
import com.yuanzong.wuliu.model.business.customer.query.BusinessCustomerBaodanPageQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BusinessCustomerBaodanMapper extends BaseMapper<BusinessCustomerBaodan> {

    /**
     * 根据mapper查询分页
     */
    Page<BusinessCustomerBaodanPageByMapperBo> pageByMapper(Page<BusinessCustomerBaodanPageByMapperBo> page, @Param("param") BusinessCustomerBaodanPageQuery query);
}
